   

1.    

2.     position:
    SQL-:

ALTER TABLE `cms_user_profiles` ADD  `position` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0' AFTER `city`


     position
    SQL-:

UPDATE `cms_user_profiles` SET position = id


3.  css-   


/*---------------------------   (    )*/ 
div.users_list_buttons .selected_genderm{ font-weight: bold; background:url(/components/users/images/button_selected_pos.jpg) no-repeat; }
div.users_list_buttons .selected_genderm a{ color: #FFF; }
div.users_list_buttons .selected_genderf{ font-weight: bold; background:url(/components/users/images/button_selected_pos.jpg) no-repeat; }
div.users_list_buttons .selected_genderf a{ color: #FFF; }
/*---------------------------   () */

/*------------------------------  (  )----------------------------- --------*/
#usr_anketa{
    float:left;
	margin-left:270px;
	margin-top:12px;
    color:#7192A6;
	font-size:14px;
	width:450px;
}

.usr_anketaup{
    float:right;
	
}
.usr_anketaup  a {
color: #00FF00;
}

div .anketa_up a
{

color:#00FF00;
}
/*------------------------------  () ----------------------------------------------*/

      (   -2 )

components/users/ajax/positionup.php

 //   
        if ($result['rating'] >= 2)

 

SET rating = rating - 2 

  components/users/js/positionup.js


